package com.bbcare.followup.plat.entity;

import java.io.Serializable;
import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

/**
 * @name: 患者账户信息实体类
 * @author: DemonLee
 * @createTime: 2017.5.7
 * @description: 患者账户信息等
 * @modify:
 * 
 */

@Entity
public class PtAccountInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    // 账户id 同一个手机号码可以加多个患者（宝宝）
    private String id;
    // 患者账号名称，一般为父母姓名
    private String accountName;
    // 创建人
    private String authorId;
    // 创建时间
    private String createTime;
    // 更新时间
    private String updateTime;
    // 描述
    private String remark;
    // 手机号码
    private String phoneNo;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setCreateTime(String createTime) {
        this.createTime = DateUtil.getTimeStampSec(createTime);
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = DateUtil.getTimeStampSec(updateTime);
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getPhoneNo() {
        return phoneNo;
    }
}
